#ifndef     __SCAN_UART_H
#define     __SCAN_UART_H

#include "../utils/nocopyable.h"
#include "../utils/object.h"
#include "../utils/error.h"
#include "../utils/byte_view.h"

namespace cargo_driver {

class ScanUart : private NoCopyable, public Object<ScanUart> {

public:
    void init();

    Error scan(ByteView &bw);
};

extern ScanUart scanUart;

}


#endif
